package com.travel.server.manager.dao;

import com.travel.server.manager.model.AdvertisingPositionInfo;
import com.travel.server.manager.model.AdvertisingPositionInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AdvertisingPositionInfoDao {
    int countByExample(AdvertisingPositionInfoExample example);

    int deleteByExample(AdvertisingPositionInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AdvertisingPositionInfo record);

    int insertSelective(AdvertisingPositionInfo record);

    List<AdvertisingPositionInfo> selectByExample(AdvertisingPositionInfoExample example);

    AdvertisingPositionInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AdvertisingPositionInfo record, @Param("example") AdvertisingPositionInfoExample example);

    int updateByExample(@Param("record") AdvertisingPositionInfo record, @Param("example") AdvertisingPositionInfoExample example);

    int updateByPrimaryKeySelective(AdvertisingPositionInfo record);

    int updateByPrimaryKey(AdvertisingPositionInfo record);
}